-
Home
-
WooCommerce Blocks
-
11.7.0 (latest)
-
Code
-
Classes
- ProductButton
Total Complexity |
35 |
Dependencies |
3 |
Dependents |
0 |
Total lines |
273 |
Lines of code |
179 |
Logical lines of code |
44 |
Comment lines |
67 |
Methods |
8 |
Properties |
1 |
Methods 8
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
render() |
C |
29 |
24 |
125 |
get_cart_item_quantities_by_product_id() |
S |
68 |
3 |
7 |
enqueue_assets() |
S |
63 |
2 |
11 |
get_view_cart_html() |
S |
61 |
1 |
18 |
get_block_type_script() |
S |
66 |
2 |
8 |
get_block_type_uses_context() |
S |
79 |
1 |
3 |
dequeue_add_to_cart_scripts() |
S |
81 |
1 |
3 |
prevent_cache() |
S |
77 |
1 |
4 |